find_package(OpenCV)

include_directories(${CMAKE_CURRENT_LIST_DIR}/include/)
include_directories(${CMAKE_CURRENT_LIST_DIR}/../common/)

file(GLOB srcs ${CMAKE_CURRENT_LIST_DIR}/src/*.cpp)
add_library(videostream STATIC ${srcs})
target_link_libraries(videostream ${OpenCV_LIBS})